package com.ssm.controller;

import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/user")
public class UserController {

	@RequestMapping("/login")
	public String login(String username ,String password,HttpSession httpSession){
		httpSession.setAttribute("username", username);
		return "redirect:/item/itemList.action";
	}
}
